const mongoose = require('mongoose');
const Schema = mongoose.Schema;

// 定义模型 限制对象
const RoleType = {
    roleNmae: String,
    roleType: Number,
    rights: Array
}
const RoleModel = mongoose.model('role', new Schema(RoleType));


module.exports = RoleModel;